//	--------------------------------------------------------------------
//	Copyright(C) 2006,2007 Zhao Yukun. All rights reserved.
//	This file is a part of the Xeres system.
//	Xeres 2007
//	Contact : xeres.engine@gmail.com
//	$(reservedInfo)
//	$(reservedDeclaration)
//	--------------------------------------------------------------------
///	@file	<ticker.h>
///	@path	~/src/appear/app/
///	@date	2007/11/08
///	@desc	Interface to adapt components run every tick update.

#pragma once

#include "xeres.h"

namespace xeres {

	// forward declaration
	class Engine;

	/*!
		\class	Ticker
		\brief	Interface to adapt components run every tick update.
	*/
	class Ticker
	{
	public:

		/// \ctor
		Ticker( void ) {}

		/// \dtor
		virtual ~Ticker( void ) {}

	//@ interface

		/*!
			\brief		Tick update call.
		*/
		virtual void Tick( Engine& engine ) = 0;

	};

} // namespace xeres
